<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of CepsController
 *
 * @author lucas
 */
class CepsController extends CakePtbrAppController {

    //put your code here
    public $uses = array('CakePtbr.Cep');
    public $name = 'Ceps';

    public function cep($cep = null) {
        $this->set('retorno', $this->Cep->buscaCep($cep));
        $this->layout = 'ajax';
    }

}